import { Controller, Get, Headers, Param, Post, Query } from '@nestjs/common';
import { ApiTags } from '@nestjs/swagger';

@ApiTags("小说")
@Controller('v1/novel')
export class NovelController {
    @Post("delete")
    deleteNovel() {

    }
    @Get("bookmark/users")
    getBookmark(@Headers("Authorization") auth: string, @Query("novel_id") id: number) {

    }

    @Post("bookmark/add")
    addBookmark(@Headers("Authorization") auth: string, @Param("novel_id") id: number, @Param("page") page: number) {

    }
    @Post("bookmark/delete")
    deleteBookmark(@Headers("Authorization") auth: string, @Param("novel_id") id: number) {

    }
    @Post("ranking")
    ranking(@Headers("Authorization") auth: string, @Param("mode") mode:string,@Param("date") date: string) {
        
    }
    @Get("/v1/novel/recommended")
    novelComment(@Headers("Authorization") auth: string,@Query("include_ranking_novels") isinclude:boolean,@Query("include_privacy_policy") ispolicy:boolean){
    }
}
